@import '../index.less';
.page-goods-detail {
    .page-view-content;
    color: #303133;
    background-color: #f5f5f5;

    .goods-detail-header {
        background-color: #fff;
        .goods-detail-swiper {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 260px;
            color: #909399;
            background-color: #f5f7fa;
            box-sizing: border-box;
        }
        .goods-detail-title {
            display: flex;
            justify-content: space-between;
            padding: 10px 15px 0px 15px;
            overflow: hidden;
            .left-wrap {
                font-size: 18px;
            }
            .right-wrap {
                color: #ff6347;
                font-size: 18px;
            }
        }
        .goods-detail-info {
            .goods-detail-price {
                display: flex;
                align-items: flex-end;
                width: 90%;
                margin: auto;
                padding: 10px 15px 10px 15px;

                .real-price {
                    color: #ff6347;
                    font-size: 15px;
                    margin-right: 5px;
                }

                .vitrual-price {
                    font-size: 12px;
                    color: #999;
                    text-decoration: line-through;
                }
            }
        }
    }

    .row-list {
        margin-top: 6px;
        .row-item {
            min-height: 42px;
            padding: 8px 15px;
            display: flex;
            align-items: center;
            flex-direction: row;
            font-size: 13px;
            background-color: #fff;
            box-sizing: border-box;
            & + .row-item {
                border-top: 1px solid #e0e0e0;
            }
            .row-item-left {
                width: 72px;
                color: #888;
            }
            .row-item-content {
                flex: 1;
                color: #333;
            }
            .row-item-right {
                color: #A8ABB2;
            }
        }
    }

    .tab-wrap {
        margin-top: 6px;
        background-color: #fff;
        .tab-header {
            display: flex;
            align-items: center;
            border-bottom: 1px solid #eee;
            .tab-header-item {
                flex: 1;
                height: 40px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                box-sizing: border-box;
                & + .tab-header-item {
                    border-left: 1px solid #eee;
                }
                &.ative {
                    color: #ec612a;
                }
            }
        }
        .tab-pan {
            height: 150px;
            text-align: center;
            color: #C0C4CC;
        }
    }
}
.page-goods-detail-tabber {
    height: 40px;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 -1px 5px 0 rgba(0, 0, 0, 0.1);
    z-index: 1;
    .left-buttons-wrap {
        display: flex;
        align-items: center;
        .sub-btn {
            flex: 1;
            display: inline-flex;
            align-items: center;
            flex-direction: column;
            justify-content: center;
            padding: 0px 6px;
            white-space: nowrap;
            position: relative;
            .el-icon {
                font-size: 18px;
                color: #666;
            }
            .sun-btn-badge {
                position: absolute;
                right: -4px;
                top: -4px;
                height: 14px;
                color: #fff;
                font-size: 12px;
                border-radius: 15px;
                display: inline-flex;
                justify-content: center;
                align-items: center;
                background-color: #f56c6c;
                padding: 0 3px;
            }
            .sun-btn-txt {
                font-size: 12px;
                color: #666;
            }
        }
    }

    .right-buttons-wrap {
        flex: 1;
        display: flex;
        align-items: center;
        height: 50px;
        padding: 8px;
        box-sizing: border-box;

        .add-btn {
            flex: 1;
            text-align: center;
            background: #f7c747;
            color: #fff;
            font-size: 13px;
            height: 100%;
            padding: 0 3px;
            white-space: nowrap;
            box-sizing: border-box;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-top-left-radius: 20px;
            border-bottom-left-radius: 20px;
        }

        .buy-btn {
            flex: 1;
            text-align: center;
            background: #ec612a;
            color: #fff;
            font-size: 13px;
            height: 100%;
            padding: 0 3px;
            white-space: nowrap;
            box-sizing: border-box;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-top-right-radius: 20px;
            border-bottom-right-radius: 20px;
        }
    }
}